/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package in.jquickfinder.filters;

import java.io.File;
import java.io.Serializable;

/**
 *
 * @author Administrator
 */
public class TrueFileFilter implements IOFileFilter, Serializable {

    public static final IOFileFilter TRUE = new TrueFileFilter();
    public static final IOFileFilter INSTANCE = TRUE;

    public TrueFileFilter() {
    }

    @Override
    public boolean accept(File file) {
        return true;

    }

    @Override
    public boolean accept(File dir, String name) {
        return true;
    }
}
